package com.iteaj.network.client;

import com.iteaj.network.*;
import com.iteaj.network.client.ClientMessage;
import com.iteaj.network.client.IotClient;

public interface ClientComponent extends FrameworkComponent {

    /**
     * 短线重连时间(秒)
     * 如果值<=0, 则不进行重连
     */
    long getReconnectTime();

    IotClient getClient();

    @Override
    Class<? extends ClientMessage> messageClass();
}
